package spring.cloud.eams.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;

/**
 * @author : fengkun
 * @date : 2020/5/6
 */
@RestController
@RequestMapping("/server/student")
public class StudentServerController {

  @RequestMapping("/list/{name}")
  public String index(@PathVariable("name") String name) {
    return Arrays.asList(name, "like", "eat", "apple", "banana", "peer", "girl").toString();
  }
}
